<?php
/**
 * @author Quentin Laujac, Charles Hurtevent
 *
 * Bean pojo article
 *
 */
class Article {
	private $num_art;
	private $libelle;
	private $pu = -1;
	private $qte_dispo = 0;
	private $libelle_type_art;
	private $qte_commandee = 0;

	//GETTER
	public function getNumArticle() {
		return $this->num_art;
	}
	public function getLibelle() {
		return $this->libelle;
	}
	public function getPrixUnitaire() {
		return $this->pu;
	}
	public function getQuantiteDisponible() {
		return $this->qte_dispo;
	}
	public function getLibelleTypeArticle() {
		return $this->libelle_type_art;
	}
	public function getQuantiteCommandee(){
		return $this->qte_commandee;
	}

	//SETTER
	public function setNumArticle($numArticle) {
		$this->num_art = $numArticle;
	}
	public function setLibelle($libelle) {
		$this->libelle = $libelle;
	}
	public function setPrixUnitaire($prixUnitaire) {
		$this->pu = $prixUnitaire;
	}
	public function setQuantiteDisponible($quantiteDisponible) {
		$this->qte_dispo = $quantiteDisponible;
	}
	public function setLibelleTypeArticle($libelleTypeArt) {
		$this->libelle_type_art = $libelleTypeArt;
	}
	public function setQuantiteCommandee($quantiteCommandee){
		$this->qte_commandee = $quantiteCommandee;
	}
}